﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exhibition.Dao.ViewModel;
using Exhibition.Service;

namespace Exhibition
{
    public partial class VerifyUser : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["verifycode"] != null) {
                 UserModel umd =  CenterService.userService.GetUserByCode(Request["verifycode"]);
                 if (umd != null)
                 {
                     Success.Visible = true;
                     False.Visible = false;
                 }
                 else {
                     Success.Visible = false;
                     False.Visible = true;
                 }

            }
        }
    }
}